package com.edu.service;

import com.edu.entity.AddressEntity;
import com.edu.entity.OrderEntity;

import java.util.List;

/**
 * com.edu.service
 * 2024/7/15 8:52
 *
 * @author Fancy
 * @version 1.0
 */
public interface AddressesService {
    Boolean addAddress(AddressEntity address, int userId);

    List<AddressEntity> getAddressesByUserId(int userId);

    int deleteAddress(int addressId, int userId);

    int updAddress(AddressEntity address, int addressId, int userId);
}
